package com.credithc.signature.common.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "template_history")
public class TemplateHistory {

    @Id
    Long id;

    @Column(name = "create_time")
    Date createTime;

    @Column(name = "update_time")
    Date updateTime;

    @Column(name = "template_no")
    String templateNo;

    @Column(name = "template_mapping_no")
    String templateMappingNo;

    @Column(name = "template_name")
    String templateName;

    @Column(name = "template_status")
    Integer templateStatus;

    @Column(name = "seal_type")
    Integer sealType;

    @Column(name = "resource")
    Integer resource;

    @Column(name = "remark")
    String remark;

    @Column(name = "version")
    String version;

    @Column(name = "ref_id")
    Integer refId;

    @Column(name = "channel_id")
    Integer channelId;

    @Column(name = "create_id")
    String createId;

    @Column(name = "create_name")
    String createName;

    @Column(name = "operator_id")
    String operatorId;

    @Column(name = "operator_name")
    String operatorName;
}
